import React from 'react';
import { useRoutes } from 'react-router-dom';
import './App.css';
import './global.scss'
import routes from './router/index';
function App() {

    const Element = useRoutes(routes);

    return (
        <div className="App">
            {Element}
        </div>
    );
}

export default App;
